home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.20031118-20041115 / 000427_fdc@columbia.edu_Mon Oct 25 12:43:25 2004.msg < prev    next >
Internet Message Format  |  2020-01-01  |  2KB

  1. Path: newsmaster.cc.columbia.edu!not-for-mail
  2. From: Frank da Cruz <fdc@columbia.edu>
  3. Newsgroups: comp.protocols.kermit.misc
  4. Subject: Re: Kermit ftp syntax
  5. Date: 25 Oct 2004 16:43:16 GMT
  6. Organization: Columbia University
  7. Lines: 42
  8. Message-ID: <slrncnqb94.4a8.fdc@sesame.cc.columbia.edu>
  9. References: <2f35e2b3.0410250649.23a55eca@posting.google.com>
  10. Reply-To: fdc@columbia.edu
  11. NNTP-Posting-Host: sesame.cc.columbia.edu
  12. X-Trace: newsmaster.cc.columbia.edu 1098722596 10002 128.59.59.56 (25 Oct 2004 16:43:16 GMT)
  13. X-Complaints-To: postmaster@columbia.edu
  14. NNTP-Posting-Date: 25 Oct 2004 16:43:16 GMT
  15. User-Agent: slrn/0.9.8.0 (SunOS)
  16. Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15211
  17.  
  18. On 2004-10-25, Harvey <delgado_harvey@yahoo.com> wrote:
  19. : Hi All,
  20. : I am doing a ftp of files and for this first I am doing a cd to the
  21. : target directory. The directory name is 'HD Test Folder' and the only
  22. : way to change to this directory is using the following command:
  23. :
  24. : cd HD Test Folder
  25. :
  26. : When a try to use: cd "HD Test Folder" or cd {HD Test Folder} then I
  27. : get and error saying is an invalid directory.
  28. :
  29. : What is the correct way to enclose the path having blank spaces.
  30. :
  31. Kermit sends what you type.  For example, if you type:
  32.  
  33.   cd HD Test Folder
  34.  
  35. it sends the FTP protocol command:
  36.  
  37.   CWD HD Test Folder
  38.  
  39. If you enclose the directory name in doublequotes, they are stripped:
  40.  
  41.   cd "HD Test Folder"
  42.   CWD HD Test Folder
  43.  
  44. To force Kermit to send the doublequotes, use:
  45.  
  46.   cd ""HD Test Folder""
  47.   CWD "HD Test Folder"
  48.  
  49. If this doesn't work, then maybe there is some other syntax the server will
  50. accept but I can only guess what it might be.  For example:
  51.  
  52.   cd HD_Test_Folder
  53.   cd HD%20Test%20Folder
  54.   cd HD%%20Test%%20Folder
  55.  
  56. etc.  Also, if you can find out the "Windows short name" of the folder you
  57. use do that instead of the long name.
  58.  
  59. - Frank